           package com.java.diagnostics.visualizer.parser.vgc.constants;
           
           import com.java.diagnostics.visualizer.gc.defaultextensions.util.Messages;
           import com.java.diagnostics.visualizer.impl.factory.LogFactory;
           import java.util.logging.Level;
           import java.util.logging.Logger;
           
           public class VGCActions extends Enumerator
           {
             private static final Logger TRACE = LogFactory.getTrace(VGCActions.class);
           
             private static final String ACTION0 = Messages.getString("VGCActions.pinned.free.list.af");
           
             private static final String ACTION1 = Messages.getString("VGCActions.non.wilderness.af");
           
             private static final String ACTION2 = Messages.getString("VGCActions.wilderness.af");
           
             private static final String ACTION3 = Messages.getString("VGCActions.expanding.heap");
           
             private static final String ACTION4 = Messages.getString("VGCActions.clearing.soft.refs");
           
             private static final String ACTION5 = Messages.getString("VGCActions.using.transient.heap");
           
             private static final String ACTION6 = Messages.getString("VGCActions.low.on.heap");
           
             private static final String[] STRINGS = { ACTION0, ACTION1, ACTION2, 
               ACTION3, ACTION4, ACTION5, ACTION6 };
           
             private static final Enumerator instance = new VGCActions();
           
             protected String[] getStrings()
             {
               return STRINGS;
             }
           
             public static int nameToInt(String name) {
               return instance.internalNameToInt(name);
             }
           
             public static String intToName(int number) {
               String name = instance.internalIntToName(number);
               if ((TRACE.isLoggable(Level.FINE)) && 
                 ("unknown".equals(name))) {
                 TRACE.fine(number + " gave a code of unknown.");
               }
           
               return name;
             }
           
             public static int maxInt() {
               return STRINGS.length;
             }
           }

